package Emply;
import java.util.Comparator;

class EmployeeComparator implements Comparator<Employee>{
	public int compare(Employee o1,Employee o2){
		if(o1.getBirth().getTime()>o2.getBirth().getTime()){
			return 1;
		}
		else if(o1.getBirth().getTime()<o2.getBirth().getTime()){
			return -1;
		}
		else{
			return 0;
		}
	}

}
